package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "service_sp_gateway")
public class ServiceSpGateway implements Serializable {

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name = "ser_id")
    private String serId;

    @Column(name = "updated")
    private Date updated;

    @Column(name = "thread_num")
    private Integer threadNum;

    @Column(name = "limit_num")
    private Integer limitNum;

    @Column(name = "stop_begin_time")
    private Date stopBeginTime;

    @Column(name = "stop_end_time")
    private Date stopEndTime;

    @Column(name = "send_url")
    private String sendUrl;

    @Column(name = "is_valid")
    private Integer isValid;

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public String getSerId() {
        return serId;
    }

    public void setSerId(String serId) {
        this.serId = serId;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Integer getThreadNum() {
        return threadNum;
    }

    public void setThreadNum(Integer threadNum) {
        this.threadNum = threadNum;
    }

    public Integer getLimitNum() {
        return limitNum;
    }

    public void setLimitNum(Integer limitNum) {
        this.limitNum = limitNum;
    }

    public Date getStopBeginTime() {
        return stopBeginTime;
    }

    public void setStopBeginTime(Date stopBeginTime) {
        this.stopBeginTime = stopBeginTime;
    }

    public Date getStopEndTime() {
        return stopEndTime;
    }

    public void setStopEndTime(Date stopEndTime) {
        this.stopEndTime = stopEndTime;
    }

    public String getSendUrl() {
        return sendUrl;
    }

    public void setSendUrl(String sendUrl) {
        this.sendUrl = sendUrl;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }
}
